package cn.sofwin.day0126;

public class Test {
    public static void main(String[] args) {
        Student s1 = new Student(01, "张三", 22);
        Student s2 = new Student(01, "张三", 22);

        if (s1.equals(s2)){
            System.out.println("对象是同一个对象，类型为：" + s1.getClass());
        }
    }
}
